package com.weipai.springboot.module.mapper;

import com.weipai.springboot.model.ProductDesc;
import org.apache.ibatis.annotations.Param;

/**
 * 货品的详情和主图
 */
public interface ProductDescMapper {
    int deleteByPrimaryKey(String descId);

    int insert(ProductDesc record);

    int insertSelective(ProductDesc record);

    ProductDesc selectByPrimaryKey(String descId);

    int updateByPrimaryKeySelective(ProductDesc record);

    int updateByPrimaryKeyWithBLOBs(ProductDesc record);

    int updateByPrimaryKey(ProductDesc record);

    ProductDesc selectBySpuNumber(@Param("spuNumber") String spuNumber);
}